package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 客户财务表
 * </p>
 *
 * @author LX
 * @since 2018-09-06
 */
@TableName("erp_customer_finance")
public class ErpCustomerFinance extends Model<ErpCustomerFinance> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 法人代码号
     */
    @TableField("fin_fr_no")
    private String finFrNo;
    /**
     * 税务登记号
     */
    @TableField("fin_dj_no")
    private String finDjNo;
    /**
     * 地址电话
     */
    @TableField("fin_address")
    private String finAddress;
    /**
     * 税务类型
     */
    @TableField("fin_type")
    private String finType;


    /**
     * 账户类型
     */
    private transient String finvType;
    /**
     * 帐号
     */
    private transient String finvNumber;
    /**
     * 开户行
     */
    private transient String finvBank;
    /**
     * 录入人
     */
    private transient String finvUser;
    /**
     * 录入时间
     */
    private transient String finvDate;

    /**
     * 多条开户银行
     */
    private  transient List<ErpCustomerFinanceVice> erpCustomerFinanceVices;

    public String getFinvType() {
        return finvType;
    }

    public void setFinvType(String finvType) {
        this.finvType = finvType;
    }

    public String getFinvNumber() {
        return finvNumber;
    }

    public void setFinvNumber(String finvNumber) {
        this.finvNumber = finvNumber;
    }

    public String getFinvBank() {
        return finvBank;
    }

    public void setFinvBank(String finvBank) {
        this.finvBank = finvBank;
    }

    public String getFinvUser() {
        return finvUser;
    }

    public void setFinvUser(String finvUser) {
        this.finvUser = finvUser;
    }

    public String getFinvDate() {
        return finvDate;
    }

    public void setFinvDate(String finvDate) {
        this.finvDate = finvDate;
    }

    public List<ErpCustomerFinanceVice> getErpCustomerFinanceVices() {
        return erpCustomerFinanceVices;
    }

    public void setErpCustomerFinanceVices(List<ErpCustomerFinanceVice> erpCustomerFinanceVices) {
        this.erpCustomerFinanceVices = erpCustomerFinanceVices;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getFinFrNo() {
        return finFrNo;
    }

    public void setFinFrNo(String finFrNo) {
        this.finFrNo = finFrNo;
    }

    public String getFinDjNo() {
        return finDjNo;
    }

    public void setFinDjNo(String finDjNo) {
        this.finDjNo = finDjNo;
    }

    public String getFinAddress() {
        return finAddress;
    }

    public void setFinAddress(String finAddress) {
        this.finAddress = finAddress;
    }

    public String getFinType() {
        return finType;
    }

    public void setFinType(String finType) {
        this.finType = finType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerFinance{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", finFrNo=" + finFrNo +
        ", finDjNo=" + finDjNo +
        ", finAddress=" + finAddress +
        ", finType=" + finType +
        "}";
    }
}
